Summary

Displays a textbox and a browse button that shows the standard Content Studio link dialog.

Component properties
Category AS EPT
Version 1.0
Complies with Xhtml 1.0 / 1.1 rules Yes
Supported server programming languages C# Visual Basic.NET
Output content type inline

When placed in a document, the Link dialog displays the following user interface:

The Link dialog component showing the Content Studio link dialog.
The Link dialog component showing the Content Studio link dialog.

When to use

This component is typically used in EPT edit templates where there is a demand for users to be able to select a Content Studio document, and information regarding the selected document should be stored.

Programming interface

Parameters

Name and location
Field name
Name of the field where the selection should be stored. This name must be unique within the page and only contains characters:[A-Z][0-9]
Default link location
Optional, specifies the intial location of the browse dialog.
Lock link location
Controls whether to lock the browse dialog at the Default link location, if checked, only documents in the specified location can be selected.
Appearance and behaviors
Button css class name
A CSS class that is used to apply styling to the displayed button.
Text box css class name
A CSS class that is used to apply styling the text box control.
Attributes
Optional, a set of custom attributes to apply on the text box.
Bypass link dialog
Specifies whether to bypass the link dialog. If checked, the standard Content Studio browse dialog will be shown directly.
Buttons and labels
Browse text label
A value that specifies the caption for the browse button.
Show delete button
Specifies whether to show the delete-button, or not. The button enable users to remove a selected link.
Delete button text label
A value that specifies the caption for the delete button.
Customization
Custom browse function
The name of a client side java script function that should be executed instead of executing the standard browse dialog. The custom function should have one argument. The passed value is an array consisting of the following fields, in the specified order.
  • Integer: a unit identifier
  • Integer: a category identifier
  • Integer - multidimensional: document identifier
  • String - multidimensional: document name
  • String - multidimensional: document url
  • String - multidimensional: content type
The function should also return the same type of array.

Remarks

Link dialog is intended to be used in an intranet only and requires the user to be authenticated and to use Internet Explorer version 6.0 or later.